package com.smbms.mapper;

import com.smbms.pojo.Bill;
import com.smbms.pojo.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ProviderMapper {
    /*查询总记录数*/
    Integer getProviderCount();
    /*查询所有供应商信息*/
    List<Provider> getProviderList(Map<String,Object> map);

    int addProvider(Provider provider);

    Provider getProviderById(Integer proid);

    int updateProvider(Provider provider);

    Bill selectBillById(Integer proid);

    int deleteProviderById(Integer proid);

    List<Provider> getProvider();
}
